package com.dxx.cloud.admin.module.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * 商品规格
 * </p>
 *
 * @author dh
 * @since 2025-06-06
 */
@Getter
@Setter
@TableName("goods_size")
public class GoodsSizeEntity extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 商户id
     */
    private Long merId;

    /**
     * 门店id
     */
    private Long shopId;

    /**
     * 商品id
     */
    private Long goodsId;

    /**
     * 商品规格
     */
    private String unit;

    /**
     * 皮重
     */
    private BigDecimal tare;

    /**
     * 毛重
     */
    private BigDecimal grossWeight;

    /**
     * 净重
     */
    private BigDecimal netWeight;

    /**
     * 库存量
     */
    private BigDecimal inventory;

    /**
     * 单价
     */
    private BigDecimal unitPrice;

    /**
     * 图片地址
     */
    private String icon;

    /**
     * 底价
     */
    private BigDecimal floorPrice;

    /**
     * 最小克重
     */
    private Integer minGramWeight;

    /**
     * 最大克重
     */
    private Integer maxGramWeight;

    /**
     * 更新版本
     */
    private Integer updateVersion;

    /**
     * 是否上架
     */
    private Integer isOnSell;

    


}
